package org.dromara.platform.domain.bo;

import org.dromara.platform.domain.TMiniProgramCategory;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 小程序类目信息业务对象 t_mini_program_category
 *
 * @author Lion Li
 * @date 2025-06-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TMiniProgramCategory.class, reverseConvertGenerate = false)
public class TMiniProgramCategoryBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 小程序基础id
     */
    private Long baseId;

    /**
     * 类目id
     */
    private Integer categoryId;

    /**
     * 类目名称
     */
    private String categoryClass;

    /**
     * 父级类目id
     */
    private Integer parentCategoryId;

    /**
     * 父级类目
     */
    private String parentCategoryClass;

    /**
     * 类目层级
     */
    private String level;

    /**
     * 状态
     */
    private Long status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 类目资质
     */
    private String certicates;

}
